package cn.iocoder.yudao.module.system.controller.admin.lottery.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 全套奖励详情 Response VO")
@Data
public class LotteryFullPackageRespVO {

    @Schema(description = "抽奖记录ID", example = "1")
    private Long recordId;

    @Schema(description = "奖品类型", example = "5")
    private Integer prizeType;

    @Schema(description = "奖品名称", example = "全套奖励")
    private String prizeName;

    @Schema(description = "是否中奖", example = "true")
    private Boolean isWin;

    @Schema(description = "抽奖时间")
    private LocalDateTime lotteryTime;

    @Schema(description = "提示信息", example = "恭喜您获得全套奖励！")
    private String message;

    @Schema(description = "包含的奖品详情")
    private List<PrizeDetail> prizeDetails;

    @Schema(description = "奖品详情")
    @Data
    public static class PrizeDetail {
        
        @Schema(description = "奖品名称", example = "基础版报告一次")
        private String prizeName;
        
        @Schema(description = "奖品数量", example = "1")
        private Integer quantity;
        
        @Schema(description = "是否已发放", example = "true")
        private Boolean awarded;
        
        @Schema(description = "备注", example = "已发放到用户资产")
        private String remark;
    }
}
